package com.scau.clothes.stock.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.scau.clothes.core.core.entity.BaseEntity;
import io.swagger.models.auth.In;
import lombok.Data;

import java.io.Serializable;
@Data
@TableName("norm")
public class Norm extends BaseEntity implements Serializable {
    /**
     * 规格id
     */
    @TableId(value = "norm_id",type = IdType.AUTO)
    private Long normId;

    /**
     * 规格编号
     */
    private String normSn;

    /**
     * 颜色
     */
    private Long colorId;

    /**
     * 尺寸
     */
    private Long sizeId;

    /**
     * 逻辑删除
     */
    private Integer isDelete;

    /**
     * 服装类
     */
    @TableField(exist = false)
    private Color color;

    /**
     * 服装类
     */
    @TableField(exist = false)
    private Size size;

}
